package com.webase.service;

import java.util.List;

import com.webase.model.User;
import com.webase.repository.dao.UserDao;

public class UserService {
	UserDao userDao = null;

	
	/**
	 * @return the userDao
	 */
	public UserDao getUserDao() {
		return userDao;
	}


	/**
	 * @param userDao the userDao to set
	 */
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}


	@SuppressWarnings("unchecked")
	public List<User> list() {
		return (List<User>) userDao.list();
	}
}
